﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Http
{
    /// <summary>
    /// 综合权值数据结构
    /// </summary>
    public struct Colligate
    {
        /// <summary>
        /// 域名
        /// </summary>
        public string Domain;

        /// <summary>
        /// 内容
        /// </summary>
        public double Content;

        /// <summary>
        /// 响应速度
        /// </summary>
        public double Speed;

        /// <summary>
        /// 响应代码
        /// </summary>
        public double HttpCode;

        /// <summary>
        /// 网页大小
        /// </summary>
        public double PageSize;

        /// <summary>
        /// 支持Html标记:1.文本 2.链接
        /// </summary>
        public double AbetHtml;        

        /// <summary>
        /// Google收录总量
        /// </summary>
        public double GoogleEmbody;

        /// <summary>
        /// Google网站PR值
        /// </summary>
        public double GooglePR;

        /// <summary>
        /// 百度收录总量
        /// </summary>
        public double BaiduEmbody;

        /// <summary>
        /// Destoon网站评分
        /// </summary>
        public double Destoon;
    }

    /// <summary>
    /// 定义委托，评分完成时
    /// </summary>
    /// <param name="colligate">评分数据结构</param>
    public delegate void On_GradeSucess(Colligate colligate);
}
